package com.shilei.abstractFactory;

/**
 * @description: 现代工厂
 * @author: 81271
 * @date: 2020-04-12 17:18
 */
public class ModernFactory extends AbstractFactory{
    @Override
    Weapon createWeapon() {
        return new Sword();
    }

    @Override
    Food createFood() {
        return new Meat();
    }
}
